Package com.cisco.pt.ipc.sim.impl
Class FTPServerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.FTPServerImpl
Information provided by the PKI file:
\class FtpServer
\brief FtpServer is the process that handles the FTP service.
\example network().getDevice("Server0").getProcess("FtpServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionFTPServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetEnabled(boolean bEnable) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
FTPServerImpl
public FTPServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setEnabled
public void setEnabled(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the FTP service. \param bEnable, true to enable the FTP service, false to disable it.- Specified by:
setEnabledin interfaceFTPServer- Parameters:
bEnable- Takes in a parameter of bEnable
-
isEnabled
public boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the FTP service is enabled, otherwise false. \return bool, true if the FTP service is enabled, otherwise false. -
getFtpUserAccountManager
Information provided by the PKI file:
\brief Returns the FTP user account manager. \return FtpUserAccountManager, the FtpUserAccountManager object.- Specified by:
getFtpUserAccountManagerin interfaceFTPServer- Returns:
- FTPUserAccountManager Returns a FTPUserAccountManager
-